package com.zking.entity;
/**
 * 订单
 * @author 刘勇科
 *
 */
public class Order {
	
	private Integer order_id;//订单id
	private Integer user_id;//用户id
	private Integer seat_id;//座位id
	private Integer pay_id;//支付id
	private Integer food_id;//菜品id
	private Integer person_number;//预定人数
	private String time;//就餐时间
	private String banquet_type;//宴席类型
	private String paystate;//支付状态
	private String ordertime;//预定时间
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getSeat_id() {
		return seat_id;
	}
	public void setSeat_id(Integer seat_id) {
		this.seat_id = seat_id;
	}
	public Integer getPay_id() {
		return pay_id;
	}
	public void setPay_id(Integer pay_id) {
		this.pay_id = pay_id;
	}
	public Integer getFood_id() {
		return food_id;
	}
	public void setFood_id(Integer food_id) {
		this.food_id = food_id;
	}
	public Integer getPerson_number() {
		return person_number;
	}
	public void setPerson_number(Integer person_number) {
		this.person_number = person_number;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getBanquet_type() {
		return banquet_type;
	}
	public void setBanquet_type(String banquet_type) {
		this.banquet_type = banquet_type;
	}
	public String getPaystate() {
		return paystate;
	}
	public void setPaystate(String paystate) {
		this.paystate = paystate;
	}
	public String getOrdertime() {
		return ordertime;
	}
	public void setOrdertime(String ordertime) {
		this.ordertime = ordertime;
	}
	@Override
	public String toString() {
		return "order [order_id=" + order_id + ", user_id=" + user_id + ", seat_id=" + seat_id + ", pay_id=" + pay_id
				+ ", food_id=" + food_id + ", person_number=" + person_number + ", time=" + time + ", banquet_type="
				+ banquet_type + ", paystate=" + paystate + ", ordertime=" + ordertime + "]";
	}
	public Order(Integer order_id, Integer user_id, Integer seat_id, Integer pay_id, Integer food_id,
			Integer person_number, String time, String banquet_type, String paystate, String ordertime) {
		super();
		this.order_id = order_id;
		this.user_id = user_id;
		this.seat_id = seat_id;
		this.pay_id = pay_id;
		this.food_id = food_id;
		this.person_number = person_number;
		this.time = time;
		this.banquet_type = banquet_type;
		this.paystate = paystate;
		this.ordertime = ordertime;
	}
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
